<?php
class Site_Model extends ORM {
	
	protected $table_name = 'site';
	protected $primary_key = 'site_name';
	
	public function get()
	{
		$this->db->from($this->table_name);
		$this->db->select('*');
		$query = $this->db->get();
		$mlist = $query->result_array(false);
		return $mlist[0];
	}
}
?>